import request from "../utils/request";

export const getAllServer = (params?: string) => request.get('/gen/servicetype', { params })
export const updateServer = (data: any) => request.put('/gen/servicetype', data)
export const addServer = (data: any) => request.post('/gen/servicetype', data)
export const deleteServer = (data: any) => request.delete('/gen/servicetype/155', data)